package com.cloud.producer.config;

import com.cloud.producer.service.SendService;
import org.springframework.cloud.stream.annotation.EnableBinding;
import org.springframework.context.annotation.Configuration;

@Configuration
//以SendService作为参数，Spring容器启动时，会自动绑定SendService接口定义的通道
@EnableBinding(SendService.class)
public class MQConfig {
}
